package com.android.webttest.Api.Service;

import com.android.webttest.model.GoodAllInfo;
import com.android.webttest.model.Result;
import com.android.webttest.model.User;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface AppApiService {

    @GET("app/getGoodInfoByGoodId")
    Call<Result<GoodAllInfo>> fetchGoodAllInfo(@Query("goodId") Integer goodId);


    @GET("user/userInfo")
    Call<Result<User>> getUserInfo();
}
